//
// Float.cpp for  in /home/lund/Projets/abstract-vm/vmtmp
// 
// Made by florian dewulf
// Login   <dewulf_f@epitech.net>
// 
// Started on  Mon Feb 18 11:02:55 2013 florian dewulf
// Last update Tue Feb 19 21:38:59 2013 kevin lansel
//

#include	"Float.hpp"

Float::Float(const float &value, const std::string &str) : AOperand(value, str), _value(value)
{
}

Float::Float(const Float &other) : _value(other.getValue())
{
}

Float::~Float()
{
}

Float		&Float::operator=(const Float &other)
{
  this->_value = other.getValue();
  return (*this);
}

float		Float::getSize() const
{
  return (this->_value);
}

void		Float::setSize(const float &size)
{
  this->_value = size;
}

eOperandType	Float::getType() const
{
  return (FLOAT);
}
